package net.pimpas.validation.serviceprovider;

import net.pimpas.core.serviceprovider.ServiceProvider;
import net.pimpas.validation.Validation;
import net.pimpas.validation.exception.ValidationException;
import net.pimpas.validation.result.ValidationResult;

public interface ValidationServiceProvider extends ServiceProvider {

	ValidationResult validate( Validation validation, Object... parameters ) throws ValidationException;
	ValidationResult validate( ValidationResult result, Validation validation, Object... parameters ) throws ValidationException;
	
}